/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

import _entity.UserInfo;
import entity.Users;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author HP
 */

public interface UsersBeanRemote {
    List<UserInfo> findAll();

    List<UserInfo> findRange(int[] range);

    int count();

    UserInfo find(Object id);

    void edit(UserInfo user);

    void create(UserInfo user);

    void remove(UserInfo user);

    boolean authentication(String userName, String password);

    Users find_2(Object id);
}
